package com.example.myapplication;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;

import java.security.ProtectionDomain;

public class MainActivity extends AppCompatActivity {
private String TAG = "LifeCycle";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Log.i(TAG,"onCreate");

    }


    protected void onStart(){
        super.onStart();
        Log.i(TAG,"onStart");
    }


    protected void onResume(){
        super.onResume();
        Log.i(TAG,"onResume");
    }

    protected void onPause(){
        super.onPause();
        Log.i(TAG,"onPause");
    }

    protected void onStop(){
        super.onStop();
        Log.i(TAG,"onStop");
    }

    protected void onRestart(){
        super.onRestart();
        Log.i(TAG,"onRestart");
    }

    protected void onDestroy(){
        super.onDestroy();
        Log.i(TAG,"onDestroy");
    }
}